gridview: Fix rubberbanding from negative x coordinates
authorCorey Berla <corey@berla.me>
Wed, 14 Sep 2022 18:27:13 +0000 (11:27 -0700)
committerCorey Berla <corey@berla.me>
Wed, 14 Sep 2022 18:27:52 +0000 (11:27 -0700)
commitad041fc5d4b2da24845264fb7e6396a53049c7e3
tree1fbc348ae3a7e244a00baa0052770b0cc8c94edb
parent952f85c12de13e978294af58f26694eddb3a1ee0
gridview: Fix rubberbanding from negative x coordinates

This is a follow-up to 1e9a36ffa8d198212cde130a021256fd142ba6c5. For GridView
we also need to make sure that we aren't rubberbanding below x=0 which
causes unexpected rubberbanding behavior.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2492
gtk/gtkgridview.c